package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * @Author: kfc
 * @Description: 订单状态<br/>
 * Date:Create in 2019/9/10 14:37
 * @Modified By:
 */

@NoArgsConstructor
public enum ProductStatusEnum implements IBaseEnum<Integer> {
    STATUS1(1,"待定"),
    STATUS2(2,"待货"),
    STATUS3(3,"有现货"),
    STATUS4(4,"需外采"),
    STATUS5(5,"内部换货"),
    STATUS6(6,"断货"),
    STATUS7(7,"取消"),
    STATUS8(8,"待处理"),
    STATUS9(9,"退货")
    ;
    private int value;
    private String desp;

    ProductStatusEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }
    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
